
.zUI-shadow{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;left: 0;

    z-index: 19960607;
    filter:alpha(opacity=30);
}
.zUI-shadow:not(.zUI-mask){
    background-color: #999;
    opacity: 0.3;
}


.zUI-shadow.zUI-mask .mask-box{
    background-color: #fff;
    position: absolute;
    width: 100%;height: 100%;
    text-align: center;
    opacity: 0.5;
}
.zUI-shadow.zUI-mask .img{
    position: relative;
    width: 32px;
    height: 32px;
    left: calc(50% - 16px);
    top: calc(50% - 16px);
    display: block;
    background: url(../img/loading.gif) no-repeat center center;
}
.zUI-shadow.zUI-mask .img.hastext{
    top: calc(50% - 24px);
}
.zUI-shadow.zUI-mask .text{
    color: #555;
    font-size: 14px;
    position: relative;
    display: inline-block;
    line-height: 16px;
    max-width: 600px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    white-space: nowrap;
    left: calc(50% - 16px);
    top: calc(50% - 10px);
}
.zUI-shadow.zUI-mask .text.hastext{
    top: calc(50% - 16px);
}
.zUI-box *{
    box-sizing: border-box;
}
.zUI-box{
    position: fixed;
    margin: 0;
    padding: 0;
    border: none;
    z-index: 19960607;
    display: none;
    width: auto;
    font: 14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;
    border-radius: 2px;
    box-shadow: 1px 3px 9px 1px rgba(0,0,0,.3);
    background-color: white;
    min-height: 87px;
    min-width: 220px;
    filter: progid:DXImageTransform.Microsoft.Shadow(color=rgba(0,0,0,.3), Direction=125, Strength=9);
}
.zUI-box.animate{
    display: inline-block;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 160ms ease-in-out;
    transition: all 160ms ease-in-out;
}
.zUI-box .zUI-title{
    background-color: #0099ff;
    color: white;
    border-radius: 2px 2px 8px 8px;
    width: 100%;
    height: 42px;
    line-height: 42px;
    font-size: 16px;
    display: inline-block;
    overflow: hidden;
}
.zUI-box .zUI-title.draggable{
    cursor: move;
}
.zUI-box .zUI-content{
    padding: 0 2px;
    width: 100%;
    min-width: 220px;
    font-size: inherit;
    overflow: auto;
}
.zUI-box.alert .zUI-content{
    max-height: 600px;
}
.zUI-box.alert{
    max-height: 687px;
}
.zUI-box .zUI-content.not-btn{
    min-height: 131px;
}
.zUI-box .zUI-title>h1{
    width: 100%;
    padding-left: 1em;
    margin: 0;
    font-weight: 400;
    color: white;
    line-height: inherit;
}
.zUI-box .zUI-title>div{
    position: absolute;
    right: 0;
    top: 0;
    padding: 0 10px;
}
.zUI-box .zUI-title>div>a{
    cursor: pointer;
    color: white;
    font: 500 1.3em/15px Tahoma;
}
.zUI-box .zUI-title>div>a:hover{
    color: #ddd;
}

.zUI-box .zUI-btns{
    padding: 8px 15px 2px 15px;
    border-top: 1px solid #ddd;
    height: 45px;
    text-align: center;
    pointer-events: auto;
    -webkit-user-select: none;
    overflow: hidden;
}

.zUI-box .zUI-resize{
    position: absolute;
    bottom: 0;
    right: 0;
    display: inline-block;
    min-width: 10px;
    min-height: 10px;
    cursor: se-resize;
}

.zUI-tip{
    display: inline-block;
    position: absolute;
    background-color: white;
    color: #3a3a3a;
    border: 1px solid #0099ff;
    border-radius: 5px;
    padding: 5px;
    font-size: 12px;
}

/*箭头向左*/
.zUI-tip:before{
    box-sizing: content-box;
    width: 0;
    height: 0;
    position: absolute;
    padding:0;
    border-top:8px solid transparent;
    border-bottom: 8px solid transparent;
    display: block;
    content:'';
    z-index: 12;
}
.zUI-tip:after{
    box-sizing: content-box;
    width: 0;
    height: 0;
    position: absolute;
    padding:0;
    border-top:9px solid transparent;
    border-bottom:9px solid transparent;
    display: block;
    content:'';
    z-index:10;
}
.zUI-tip.left:before{
    top: calc(50% - 8px);
    left: 100%;
    border-left: 8px solid #FFFFFF;
    border-right:8px solid transparent;
}
.zUI-tip.left:after{
    top: calc(50% - 9px);
    left: 100%;
    border-left: 9px solid #0099ff;
    border-right:9px solid transparent;
}
/*箭头向右边*/
.zUI-tip.right:before{
    top: calc(50% - 8px);
    left: -16px;
    border-right: 8px solid #FFFFFF;
    border-left:8px solid transparent;
}
.zUI-tip.right:after{
    top: calc(50% - 9px);
    left: -18px;
    border-right: 9px solid #0099ff;
    border-left:9px solid transparent;
}
/*箭头向上边*/
.zUI-tip.up:before{
    top: calc(100% - 1px);
    left: calc(50% - 9px);
    border-right: 8px solid transparent;
    border-left:8px solid transparent;
    border-top:9px solid white;
    border-bottom: 9px solid transparent;

}
.zUI-tip.up:after{
    top: 100%;
    left: calc(50% - 9px);
    border-right: 8px solid transparent;
    border-left:8px solid transparent;
    border-top:9px solid #0099ff;
    border-bottom: 9px solid transparent;
}
/*箭头向下边*/
.zUI-tip.down:before{
    top: -18px;
    left: calc(50% - 9px);
    border-right: 8px solid transparent;
    border-left:8px solid transparent;
    border-top:9px solid transparent;
    border-bottom: 9px solid white;
}
.zUI-tip.down:after{
    top: -19px;
    left: calc(50% - 9px);
    border-right: 8px solid transparent;
    border-left:8px solid transparent;
    border-top:9px solid transparent;
    border-bottom: 9px solid #0099ff;
}
.zUI-message-queue{
    position: fixed;
    width: auto;
    top: 0;
    z-index: 99999999;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
}
.zUI-message-queue.center{
    left: 50%;
}
.zUI-message-queue.right{
    right: 0;
}
.zUI-message-wrap{
    position: relative;
    min-width: 250px;
    max-width: 600px;
    width: auto;
    border-radius: 6px;
    margin-top: 5px;
    padding: 10px 10px 10px 20px;
    display: inline-block;
    font-size: 12px;
    line-height: 12px;
    min-height: 50px;
    max-height: 150px;
    left: -90px;
    box-sizing: border-box;
    border: 1px solid #eee;
    border-bottom: none;
    background-color: #fff;
    box-shadow: 1px 2px 5px 1px rgba(0,0,0,.3);
    text-overflow: ellipsis;
    overflow: hidden;
}
.zUI-message-title{
    width: 100%;
    font-weight: bold;font-size: 16px;
    display: inline-block;
    padding: 0 6px 10px 16px;line-height: 16px;
}
.zUI-message-queue.right .zUI-message-wrap{
    border-left: 4px solid;
}
.zUI-message-timer{
    position: absolute;
    display: inline-block;
    height: 2px;
    box-sizing: border-box;
    border: none;
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: lightgray;
}
/*.zUI-message-wrap:nth-child(even) .zUI-message-timer {
    bottom: -2px;
}*/

.zUI-message-timer div{
    position: relative;
    border-radius: 0 0 6px 6px;
    height: 2px;
    width: 0;
    left: 0;
    bottom: 0;

}
.zUI-message-wrap .zUI-icon{
    position: absolute;
    left: 0;
    top: 10px;
    margin-left: 8px;
    font-size: 18px;
    font-weight: normal;
}
.zUI-message-wrap .zUI-message-content{
    padding: 0 20px 5px 16px;
    word-break: break-all;
    text-overflow: ellipsis;
    overflow: hidden;
    height: auto;
}
.zUI-message-wrap .zUI-close:hover{
    color: grey;
}
.zUI-message-wrap .zUI-close{
    position: absolute;
    color: lightgrey;
    right: 4px;
    height: 15px;
    line-height: 15px;
    display: inline-block;
    top: calc(50% - 8px);
    cursor: pointer;
    font: 16px Tahoma, serif;
}
.zUI-message-queue.right .zUI-message-wrap.info{
    border-left-color: #0099ff;
}
.zUI-message-wrap.info .zUI-icon{
    color: #0099ff;
}
.zUI-message-wrap.info .zUI-message-timer{
    border-color: #0099ff;
}
.zUI-message-wrap.info .zUI-message-timer div{
    background-color: #0099ff;
}
.zUI-message-queue.right .zUI-message-wrap.error{
    border-left-color: #fb3500;
}
.zUI-message-wrap.error .zUI-icon{
    color: #fb3500;
}
.zUI-message-wrap.error .zUI-message-timer{
    border-color: #fb3500;
}
.zUI-message-wrap.error .zUI-message-timer div{
    background-color: #fb3500;
}
.zUI-message-queue.right .zUI-message-wrap.warn{
    border-left-color: darkorange;
}
.zUI-message-wrap.warn .zUI-icon{
    color: darkorange;
}
.zUI-message-wrap.warn .zUI-message-timer{
    border-color: darkorange;
}
.zUI-message-wrap.warn .zUI-message-timer div{
    background-color: darkorange;
}
.zUI-message-queue.right .zUI-message-wrap.success{
    border-left-color: limegreen;
}
.zUI-message-wrap.success .zUI-icon{
    color: limegreen;
}